package com.bbcare.followup.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: fu_lostreason_dict失访原因配置实体类
 * @author: DemonLee
 * @createTime: 2017.5.24
 * @description: 患者建档基本信息等
 * @modify:
 * 
 */

@Entity
public class FuLostReason implements Serializable {
    private static final long serialVersionUID = 1L;
    // 失访原因id
    private String id;
    // 失访原因
    private String reasonName;
    // 更新时间
    private String updateTime;
    // 创建时间
    private String createTime;
    // 创建人
    private String authorId;
    // 原因类型, 0：个人私有 1：租户私有 2：公开
    private String reasonType;
    // 租户id
    private String tenantId;
    // 科室id
    private String deptId;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setReasonName(String reasonName) {
        this.reasonName = reasonName;
    }

    public String getReasonName() {
        return reasonName;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public String getReasonType() {
        return reasonType;
    }

    public void setReasonType(String reasonType) {
        this.reasonType = reasonType;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }
}
